package com.hmall.search.constant;

/**
 * 声明队列
 *
 * @Author Eeyore
 * @Date 2022/8/8 19:57
 * @Description: 声明队列
 */
public class MqConstants {
    //交换机
    public final static String ITEM_DIRECT_EXCHANGE = "item.direct";

    //监听新增队列
    public final static String ITEM_INSERT_QUEUE = "item_insert_queue";

    //监听删除队列
    public final static String ITEM_DELETE_QUEUE = "item_delete_queue";

    //新增的RoutingKey
    public final static String ITEM_INSERT_KEY = "item_insert";

    //删除的RoutingKey
    public final static String ITEM_DELETE_KEY = "item_delete";

}